import { StrictMode } from "react";
import { createRoot } from "react-dom/client";
import "./index.scss";

// 导入路由
import { RouterProvider } from "react-router";
import router from "./router";

// 导入store
import store from "./store/store";
import { Provider } from "react-redux";

// 导入ant-design的兼容性补丁
import "@ant-design/v5-patch-for-react-19";


createRoot(document.getElementById("root")!).render(
  <StrictMode>
    <Provider store={store}>
      <RouterProvider router={router}></RouterProvider>
    </Provider>
  </StrictMode>
);
